package com.miao.commonn.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * 
 * @author xk
 * @email 2337156522@QQ.com
 * @date 2022-03-10 10:51:39
 */
@Data
public class BargainVo implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private Integer bid;
	/**
	 * 商品编号
	 */
	private Integer gid;
	/**
	 * 商品名称
	 */
	private String gname;
	/**
	 * 开始时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date bstartdate;
	/**
	 * 结束时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date benddate;


	private Integer bcount;
	/**
	 * 原价
	 */
	private BigDecimal gprice;
	/**
	 * 低价
	 */
	private BigDecimal bjprice;
	/**
	 * 规则
	 */
	private Integer brules;

	/**
	 * 砍几刀或者能砍多少钱
	 */
	private Integer countorlow;
	/**
	 * 详情描述
	 */
	private String detail;


	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Integer getBid() {
		return bid;
	}

	public void setBid(Integer bid) {
		this.bid = bid;
	}

	public Integer getGid() {
		return gid;
	}

	public void setGid(Integer gid) {
		this.gid = gid;
	}

	public String getGname() {
		return gname;
	}

	public void setGname(String gname) {
		this.gname = gname;
	}

	public Date getBstartdate() {
		return bstartdate;
	}

	public void setBstartdate(Date bstartdate) {
		this.bstartdate = bstartdate;
	}

	public Date getBenddate() {
		return benddate;
	}

	public void setBenddate(Date benddate) {
		this.benddate = benddate;
	}

	public Integer getBcount() {
		return bcount;
	}

	public void setBcount(Integer bcount) {
		this.bcount = bcount;
	}

	public BigDecimal getGprice() {
		return gprice;
	}

	public void setGprice(BigDecimal gprice) {
		this.gprice = gprice;
	}

	public BigDecimal getBjprice() {
		return bjprice;
	}

	public void setBjprice(BigDecimal bjprice) {
		this.bjprice = bjprice;
	}

	public Integer getBrules() {
		return brules;
	}

	public void setBrules(Integer brules) {
		this.brules = brules;
	}

	public Integer getCountorlow() {
		return countorlow;
	}

	public void setCountorlow(Integer countorlow) {
		this.countorlow = countorlow;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}
}
